﻿@using ExampleWebApplication.App_GlobalResources

@model CrossLayerCommunication.IOperationResult

@if (Model != null &&
     !Model.WasSuccessful)
{
    <text>
        <ul class="error">
            @foreach (var errorMessage in Model.Messages)
            {
                <li>
                    @MessagesResource.ResourceManager.GetString(errorMessage.Key)
                </li>
            }
        </ul>
    </text>
}

